package com.bawei.park2211a


import androidx.navigation.fragment.NavHostFragment
import androidx.navigation.ui.setupWithNavController
import com.alibaba.android.arouter.facade.annotation.Route

import com.bawei.base.mvvm.BaseViewActivity
import com.bawei.park2211a.databinding.ActivityMainBinding

import dagger.hilt.android.AndroidEntryPoint

@AndroidEntryPoint
@Route(path = "/app/MainActivity")
class MainActivity : BaseViewActivity<ActivityMainBinding>() {

    override fun initView() {
        val navHostFragment=supportFragmentManager.findFragmentById(R.id.fragmentContainerView)as NavHostFragment
        val navController=navHostFragment.navController
        binding.bottom.setupWithNavController(navController)
        binding.bottom.getOrCreateBadge(R.id.serviceFragment)

    }

    override fun initData() {

    }
}